/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package views;

import bean.Servicio;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTable;
import views.*;
import main.Main;
/**
 *
 * @author LiziTa
 */
public class MyThreadS extends Thread {
    InternalFrameServicio theWindow;
 
    public MyThreadS(InternalFrameServicio theWindow){
    this.theWindow=theWindow;
    }
    
    @Override
    public void run(){
        while(true){
            try {
                main.Main.principal.ser.getPanelServicios().actualizaTabla();
                this.sleep(200);
            } catch (InterruptedException ex) {
                Logger.getLogger(MyThreadS.class.getName()).log(Level.SEVERE, null, ex);
            }
           
        }
    }
    
    
}